package com.ftwj.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
@Data



public class SchoolPlaceInfo {
    private String  id;
    //场所名称
    private String  name;
    //场所地址
    private String  address;
    //比例
    private Double reservationRatio;
    // 总座位数
    private long totalSeats; // 总座位数
    //经度
    private String  longitude;
    //纬度
    private String  latitude;
    //场所状态(0:关闭，1:开放)
    private Integer  openState;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    //更新时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    //状态(-1删除，1正常)
    private Integer state;
}
